export default (function () {
	//判断是测试环境还是生产环境;
	let isTest = window.location.host.indexOf("test") === 0 || window.location.host.indexOf("localhost") === 0;
	let isUat = window.location.host.indexOf("uat") === 0;
	let isPre = window.location.host.indexOf("pre") === 0;
	return {
		isPre,
		isTest,
		isUat,
		isProduction: !isTest && !isUat && !isPre
	};
	 /*return {
	    	isPre: true,
	    	isTest: false,
	    	isUat: false,
	    	isProduction: false
	 };*/
})();

